<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-02 19:42:06
 * @LastEditTime: 2023-10-19 13:28:22
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Repositories;

use App\Models\MpcDeptAllocation;

/**
 * @property MpcDeptAllocation $model
 */

class MpcDeptAllocationRepository extends Repositories
    {

    protected $relation_models = ['creator', 'updator', 'deletor', 'details' => ["material", "location" => ['department'], "oldlocation" => ['department']], 'status', 'attachments', 'car' => ['company'], 'carry' => ['company']];
    public function boot(MpcDeptAllocation $model)
        {
        $this->model = $model;
        }

    }